package org.dizena.common.base.enums;

public enum EnumLogLevel {
    OFF(Integer.MAX_VALUE,"OFF"),
    ERROR(40000, "ERROR"),
    WARN(30000, "WARN"),
    INFO(20000, "INFO"),
    DEBUG(10000, "DEBUG"),
    TRACE(5000, "TRACE"),
    ALL(Integer.MIN_VALUE, "ALL"),
    ;
    private int code;
    private String name;

    EnumLogLevel(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
